package com.fan.utils;

import com.fan.pojo.UserInfo;

import java.util.Arrays;

public class UserProvider {

    public static UserInfo getUser(){
        UserInfo userInfo = new UserInfo();
        userInfo.setIsAdministrator(false);
        userInfo.setRoleCodes(Arrays.asList("admin","user","guest"));
        return userInfo;
    }
}
